﻿using System;
using System.Collections.Generic;

namespace Donal.Xms.Model
{
    /// <summary>
    /// 订单商品表
    /// </summary>
    [Serializable]
    public partial class order_goods
    {
        public order_goods()
        { }

        #region Model
        /// <summary>
        /// 订单商品表自增ID
        /// </summary>
        public int id { set; get; } = 0;
        /// <summary>
        /// 订单ID
        /// </summary>
        public int order_id { set; get; } = 0;
        /// <summary>
        /// 商品类别名称
        /// </summary>
        public string category_title { set; get; } = string.Empty;
        /// <summary>
        /// 商品名称
        /// </summary>
        public string product_title { set; get; } = string.Empty;
        /// <summary>
        /// 规格名称
        /// </summary>
        public string goods_title { set; get; } = string.Empty;
        /// <summary>
        /// 副标题
        /// </summary>
        public string sub_title { set; get; } = string.Empty;

        /// <summary>
        /// 链接
        /// </summary>
        public string link_url { set; get; } = string.Empty;
        /// <summary>
        /// 图片
        /// </summary>
        public string img_url { set; get; } = string.Empty;
        /// <summary>
        /// 含税单价
        /// </summary>
        public decimal sell_price { set; get; } = 0;
        /// <summary>
        /// 详细内容
        /// </summary>
        public string contents { set; get; } = string.Empty;
        /// <summary>
        /// 摘要
        /// </summary>
        public string abstracts { set; get; } = string.Empty;
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? add_time { set; get; } = null;
        /// <summary>
        /// 扩展字段
        /// </summary>
        public string fields { get; set; } = string.Empty;
        /// <summary>
        /// 折扣单价
        /// </summary>
        public decimal discount_price { set; get; } = 0;
        /// <summary>
        /// 折扣备注
        /// </summary>
        public string discount_remark { get; set; } = string.Empty;
        /// <summary>
        /// 数量
        /// </summary>
        public int quantity { set; get; } = 0;
        /// <summary>
        /// 商品代码
        /// </summary>
        public string erp_goods_no { set; get; } = string.Empty;
        /// <summary>
        /// 发货单号ID
        /// </summary>
        public int order_express_id { set; get; } = 0;
        /// <summary>
        /// 非标标识 0标准 1非标
        /// </summary>
        public int standard { set; get; } = 0;
        #endregion
    }
}